package com.jiangyg.mall.admin;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 类描述：后台管理服务启动类
 * VM：-javaagent:D:\workspace\mall\mall\mall-common\mall-common-skywalking\agent\skywalking-agent.jar -Dskywalking.agent.service_name=mall-admin-service -Dskywalking.agent.instance_name=mall-admin-instance -Dskywalking.collector.backend_service=114.116.232.230:9020
 *
 * @date 2021-09-17
 * @author jiangyg
 */
@SpringBootApplication
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(AdminApplication.class);
        app.setBannerMode(Banner.Mode.CONSOLE);
        app.run(args);
        System.out.println("后台管理服务启动完成！");
    }

}
